ROTATE SPRITE
This command will rotate the specified sprite.
ROTATE SPRITE Sprite Number, Angle
Sprite Number
Integer
The sprite number
Angle
Float
You can rotate the sprite around 360 degrees specified using the Angle Value using a range of 0 to 359
This command does not return a value.
You can rotate the sprite around 360 degrees specified using the Angle Value using a range of 0 to 359. The sprite number should be specified using an integer value. The angle should be specified using a real number.
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
for t=0 to 359
rotate sprite 1,t
next t
do
loop
end
SPRITE Commands Menu
Index